package com.SB.server.impl;

import com.SB.dao.LoginDao;
import com.SB.pojo.User;
import com.SB.server.LoginServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginServerImpl implements LoginServer {
    @Autowired( required = false )
    private LoginDao loginDaoimpl;
    @Override
    public List<User> queryuser(String username, String password) {
        List<User> selectuser = loginDaoimpl.selectuser(username, password);
        return selectuser;
    }
}
